﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//#JMJ Create_20240527

namespace IHateWorking.Model
{
    /// <summary>
    /// 介绍行
    /// </summary>
    public class IntrLine
    {
        public IntrLine(string infoContent) { _infoContent = infoContent; }

        private string _infoContent;
        /// <summary>
        /// 信息行的内容
        /// </summary>
        public string InfoContent
        {
            get => _infoContent;
            set
            {
                if (_infoContent != value)
                { _infoContent = value; }
            }
        }
    }

    /// <summary>
    /// 各种介绍字典
    /// </summary>
    public class IntroductionDic
    {
        /// <summary>
        /// 参与者字典
        /// </summary>
        public static Dictionary<string, List<IntrLine>> Participants { get; set; } = new Dictionary<string, List<IntrLine>>();

        /// <summary>
        /// 专辑字典
        /// </summary>
        public static Dictionary<string, List<IntrLine>> Albums { get; set; } = new Dictionary<string, List<IntrLine>>();
    }
}
